<template>
  <div class="flex justify-end mt5">
    <el-pagination
      background
      layout="total, prev, pager, next, jumper"
      :total="meta.total"
      :page-size="meta.size"
      @current-change="changePage"
    />
  </div>
</template>

<script setup lang="ts">
defineProps<{ meta: TableMeta }>()
const changePage = inject<any>('changePage')
</script>
